package com.myhome.money.dubbo;

import com.myhome.money.dubbo.provider.ProviderConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author: 许路路
 * @Date: 2019/8/20
 */
public class FooProviderBootstrap {

    public static void main(String[] args) throws Exception {

        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();
        applicationContext.register(ProviderConfig.class);
        applicationContext.refresh();
        System.out.println("provider is ready...");
        System.in.read();

    }

}
